package com.lnking.lnkingplace.model.dto.isolation.afterPositivePersonnel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableInfo(tableName = "复阳病例记录")
public class AfterPositivePersonnelExcel {

    @TableColumn(columnName = "隔离场所名称",column = "0")
    private String placeName;

    @TableColumn(columnName = "房间号",column = "1")
    private String roomNumber;

    @TableColumn(columnName = "姓名",column = "2")
    private String name;

    @TableColumn(columnName = "联系方式",column = "3")
    private String phone;

    @TableColumn(columnName = "身份证号",column = "4")
    private String idCard;

    @TableColumn(columnName = "年龄",column = "5")
    private Integer age;

    @TableColumn(columnName = "隔离人员类型",column = "6")
    private String personnelType;

    @TableColumn(columnName = "所属区域",column = "7")
    private String area;

    @TableColumn(columnName = "所属街道",column = "8")
    private String street;

    @TableColumn(columnName = "家庭地址",column = "9")
    private String address;

    @TableColumn(columnName = "隔离开始时间",column = "10")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @TableColumn(columnName = "详细情况",column = "11")
    private LocalDateTime details;

}
